<script>
  // #ifdef APP-PLUS
  	import keepAudio from 'library/keepAlive/audio.js';
	import CheckUpdate from '@/library/platform/CheckUpdate.js';
  // #endif
	
	export default {
		onLaunch: function() {
			console.log('App Launch');
			 // #ifdef APP-PLUS
				 CheckUpdate.CheckUpdate();
			 // #endif
		},
		onShow: function() {
			console.log('App Show');
			//keepAlive
			// #ifdef APP-PLUS
			keepAudio.stop();
			// #endif
		},
		onHide: function() {
			console.log('App Hide')
			//keepAlive
			// #ifdef APP-PLUS
			keepAudio.start();
			// #endif
		},
		methods: {
			
			
		}
	}
</script>

<style>
	
	
	/*每个页面公共css */
	@import url(./styles/global.css);
	@import url(./styles/icon/iconfont.css);

 
	/* 防止闪白屏 */
	/* 增加过度动画 */
	page {
		/* background: #1B264B !important; */
		min-height: 100vh !important;
		transition: all .3s;
	}
	
	
	
</style>